package nimble.pay.trade.server.controller.echo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author max woods
 * @date 2018/8/6
 * 回向请求处理
 */

@RestController
public class EchoController {

  private static final Logger logger= LoggerFactory.getLogger(EchoController.class);

  @GetMapping("/echo")
  public Object echo()
  {
    logger.info("=========回响测试========");
    return new Date();
  }
}
